package pojo;


import java.sql.Date;

public class Info {
    private long _infoNo;
    private Date _date;
    private String _title;
    private String _info;

    public Info() {
        this._infoNo = 0;
        this._date = null;
        this._title = "";
        this._info = "";
    }

    public Info(Info info) {
        this._infoNo = info.get_infoNo();
        this._date = info.get_date();
        this._title = info.get_title();
        this._info = info.get_info();
    }

    public Info(long _infoNo, Date _date, String _title, String _info) {
        this._infoNo = _infoNo;
        this._date = _date;
        this._title = _title;
        this._info = _info;
    }

    public String toString() {
        return "Info{" +
                "_infoNo=" + _infoNo +
                ", _date=" + _date +
                ", _title='" + _title + '\'' +
                ", _info='" + _info + '\'' +
                '}';
    }

    public long get_infoNo() {
        return _infoNo;
    }

    public void set_infoNo(long _infoNo) {
        this._infoNo = _infoNo;
    }

    public Date get_date() {
        return _date;
    }

    public void set_date(Date _date) {
        this._date = _date;
    }

    public String get_title() {
        return _title;
    }

    public void set_title(String _title) {
        this._title = _title;
    }

    public String get_info() {
        return _info;
    }

    public void set_info(String _info) {
        this._info = _info;
    }
}
